package com.hezhiqin.abastractfactory;

public class Test {


    public static void main(String[] args) {
        JavaCourseFactory jf =new JavaCourseFactory();

        PythonCourseFactory pf = new PythonCourseFactory();

        INote jfnote = jf.createNote();
        jfnote.edit();
        IVideo jfv = jf.createVideo();
        jfv.record();

        INote pfnote = pf.createNote();
        pfnote.edit();
        IVideo pfv = pf.createVideo();
        pfv.record();
    }



}
